package org.aeon.message.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.dto.UserVerificationDto;
import org.aeon.message.Message;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/25 11:29
 * @description: 登录请求消息
 */
@Getter
@Setter
@ToString
public class LoginRequestMessage extends Message {
    @Serial
    private static final long serialVersionUID = -7003009409994483895L;
    private UserVerificationDto userVerification;

    public LoginRequestMessage(UserVerificationDto userVerification) {
        this.userVerification = userVerification;
    }

    @Override
    public int getMessageType() {
        return LoginRequestMessage;
    }
}
